<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>日志详情</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style>
#button{
	border-radius:15px;
	margin-left: 25px;
	width: 100px;
	height: 30px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
	}
	
	.td{
	font-size: 16px;
	border:none;
	text-align:left;
	width: 200px;
	}
	.t{
	margin-left:16px;
	font-size: 16px;
	border:none;
	text-align:left;
	width: 400px;
	}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>

</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="logmanage.do">日志管理</a>&nbsp;-</span>&nbsp;日志详情
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
				
					<div class="baTopNo">
						<span>日志详情信息</span>
						<hr>
					</div>
					<div class="baBody" >
						<table style="border:none;margin:0px;padding:0px;line-height:40px">	
							<tr class="bbD" >
								<td class="td">机构名称：</td><td class="t">${diary.organization.name }</td>				
							</tr>
							
							<tr class="bbD">
							 <td class="td">机构类型：</td> 
								<td class="t">
									<c:if test="${diary.organization.type==1 }">政府</c:if>
									<c:if test="${diary.organization.type==2 }">学校</c:if>
									<c:if test="${diary.organization.type==3 }">企业</c:if>
									<c:if test="${diary.organization.type==4 }">其他</c:if>
								</td>
							</tr>
							<tr class="bbD" >
								<td class="td">重要级别：</td>
								<td class="t">
									<c:if test="${diary.organization.vip==1 }">一般</c:if>
									<c:if test="${diary.organization.vip==2 }">重要</c:if>
									<c:if test="${diary.organization.vip==3 }">非常重要</c:if>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">机构状态：</td>
								<td class="t">
									<c:if test="${diary.organization.delstate==0 }">未删除</c:if>	
									<c:if test="${diary.organization.delstate==1 }">已删除</c:if>	
								</td>
							</tr>
							
							<tr class="bbD">
								<td class="td">省份：</td><td class="t">${diary.organization.province }</td>
							</tr>
							
							<tr class="bbD">
								<td class="td">经办人：</td><td class="t">${diary.organization.contact.ename }</td>
							</tr>
							
							<tr class="bbD">
								<td class="td">经办人电话：</td><td class="t">${diary.organization.contact.ephone }</td>
							</tr>
							<tr class="bbD">
								<td class="td">日志等级：</td>
								<td class="t">
									<c:if test="${diary.diarylevel==1 }">一般日志</c:if>
									<c:if test="${diary.diarylevel==2 }">重要日志</c:if>
									<c:if test="${diary.diarylevel==3 }">无效日志</c:if>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">日志内容：</td>
								<td class="t">
									${diary.content }
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">审核状态：</td>
								<td class="t">
									<c:if test="${diary.organization.checkstate==0 }">未审核</c:if>
									<c:if test="${diary.organization.checkstate==1 }">已审核</c:if>
								</td>	
							</tr>
							<tr class="bbD">
								<td class="td">日志日期：</td>
								<td class="t"><f:formatDate value="${diary.diarydate }" pattern="yyyy-MM-dd"/></td>
								
							</tr>
							<tr class="bbD">
								<td class="t"></td>
							</tr>
							
							<tr> 
								<td style="text-align:center;border:none"><button id="button" onclick="window.location.href='logmanage.do'">关闭</button></td>
							</tr>
						</table>
							<!-- <button class="page.connoisseur.conform.cfD.userbtn" onclick="window.location.href='logmanage.html'">关闭</button> -->						
					</div>
					
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>